﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Text;
using Newtonsoft.Json;
using YiSha.Util;

namespace YiSha.Entity.RedBookSetManage
{

    [Table("SysRedBookSet")]
    public class RedBookSetEntity : BaseExtensionEntity
    {
        [JsonConverter(typeof(StringJsonConverter))]
        public long? UserId { get; set; }   
        public string Name { get; set; }
        public string Images { get; set; }
        public string Link { get; set; }
        public string  StartTime { get; set; }
        public string EndTime { get; set; }
        public decimal Budget { get; set; }
        public byte? SetSwitch { get; set; }
        public byte? Sex { get; set; }    
        public string Age { get; set; }
        public string Area {get; set; }
        public string StatusText { get; set; }
        public string ChuangYio { get; set; }
        public string ChuangYit { get; set; }
        public string Contents { get; set; } 
        /// <summary>
        /// 所有者
        /// </summary>
        [NotMapped]
        public string RealName { get; set; }
 
    }
}
